package com.zr.entity;

import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "t_staff")
public class Staff {
    @Id
    @KeySql(useGeneratedKeys = true)
    private Long id;
    /**
     * 姓名
     */
    private String name;
    /**
     * 工号
     */
    private String jobNumber;
    /**
     * 入职时间
     */
    private Date entryTime;
    /**
     * 性别：男 1 女 2
     */
    private Integer sex;
    /**
     * lob工号
     */
    private String lobJobNumber;
    /**
     * 事业部 是 1 否 2
     */
    private Integer businessDept;
    /**
     * 交付部 是 1 否 2
     */
    private Integer deliveryDept;
    /**
     * 级别
     */
    private Integer level;
    /**
     * 年龄
     */
    private Integer age;
    /**
     * 毕业日期
     */
    private Date graduationDate;
    /**
     * 学历
     */
    private String educationalBkg;
    /**
     * 手机号
     */
    private String phoneNumber;
    /**
     * 紧急联系人
     */
    private String emergencyContact;
    /**
     * 紧急联系电话
     */
    private String emergencyPhoneNumber;
    /**
     * 身份证号
     */
    private String identificationNum;
    /**
     * 工作年限
     */
    private Integer workYear;
    /**
     * 住址
     */
    private String address;

    /**
     * 审批状态： 待审批 1，审批中 2 ，已审批 3
     */
    private Integer status;

    public Staff() {
    }

    public Staff(Long id, String name, String jobNumber, Date entryTime, Integer sex, String lobJobNumber, Integer businessDept, Integer deliveryDept, Integer level, Integer age, Date graduationDate, String educationalBkg, String phoneNumber, String emergencyContact, String emergencyPhoneNumber, String identificationNum, Integer workYear, String address, Integer status) {
        this.id = id;
        this.name = name;
        this.jobNumber = jobNumber;
        this.entryTime = entryTime;
        this.sex = sex;
        this.lobJobNumber = lobJobNumber;
        this.businessDept = businessDept;
        this.deliveryDept = deliveryDept;
        this.level = level;
        this.age = age;
        this.graduationDate = graduationDate;
        this.educationalBkg = educationalBkg;
        this.phoneNumber = phoneNumber;
        this.emergencyContact = emergencyContact;
        this.emergencyPhoneNumber = emergencyPhoneNumber;
        this.identificationNum = identificationNum;
        this.workYear = workYear;
        this.address = address;
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getJobNumber() {
        return jobNumber;
    }

    public void setJobNumber(String jobNumber) {
        this.jobNumber = jobNumber;
    }

    public Date getEntryTime() {
        return entryTime;
    }

    public void setEntryTime(Date entryTime) {
        this.entryTime = entryTime;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getLobJobNumber() {
        return lobJobNumber;
    }

    public void setLobJobNumber(String lobJobNumber) {
        this.lobJobNumber = lobJobNumber;
    }

    public Integer getBusinessDept() {
        return businessDept;
    }

    public void setBusinessDept(Integer businessDept) {
        this.businessDept = businessDept;
    }

    public Integer getDeliveryDept() {
        return deliveryDept;
    }

    public void setDeliveryDept(Integer deliveryDept) {
        this.deliveryDept = deliveryDept;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Date getGraduationDate() {
        return graduationDate;
    }

    public void setGraduationDate(Date graduationDate) {
        this.graduationDate = graduationDate;
    }

    public String getEducationalBkg() {
        return educationalBkg;
    }

    public void setEducationalBkg(String educationalBkg) {
        this.educationalBkg = educationalBkg;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getEmergencyContact() {
        return emergencyContact;
    }

    public void setEmergencyContact(String emergencyContact) {
        this.emergencyContact = emergencyContact;
    }

    public String getEmergencyPhoneNumber() {
        return emergencyPhoneNumber;
    }

    public void setEmergencyPhoneNumber(String emergencyPhoneNumber) {
        this.emergencyPhoneNumber = emergencyPhoneNumber;
    }

    public String getIdentificationNum() {
        return identificationNum;
    }

    public void setIdentificationNum(String identificationNum) {
        this.identificationNum = identificationNum;
    }

    public Integer getWorkYear() {
        return workYear;
    }

    public void setWorkYear(Integer workYear) {
        this.workYear = workYear;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
